<script type="text/javascript" >
    sttheme.load_tooltip();
    sttheme.on_submitform('#settingForm', function(){
        sttheme.loadPage('index', '', '<?php _e("Successful", $config['plugin_name']) ?>');
    });

</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="settingForm" action="<?php echo admin_url('/admin.php?page=' . $config['theme_name'] . '&action=' . $current_action) ?>" method="post" >
            <br clear="both" />
            <ul>

               
                <li>
                    <label><?php _e('KHTB quay film', $config['theme_name']) ?>:</label>
                    <div>
                        <select name="data[vd_film]"  class="widefat">
                            <?php
                            $category_ids = get_all_category_ids();
                            foreach ($category_ids as $row) {
                                $cat_name = get_cat_name($row);
                                ?>
                                <option value="<?php echo $row ?>" <?php echo $option['vd_film'] == $row ? 'selected' : '' ?>><?php echo $cat_name; ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </li>
               
                <li>
                    <label><?php _e('KHTB chụp hình', $config['theme_name']) ?>:</label>
                    <div>
                        <select name="data[vd_chuphinh]"  class="widefat">
                            <?php
                            $category_ids = get_all_category_ids();
                            foreach ($category_ids as $row) {
                                $cat_name = get_cat_name($row);
                                ?>
                                <option value="<?php echo $row ?>" <?php echo $option['vd_chuphinh'] == $row ? 'selected' : '' ?>><?php echo $cat_name; ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </li>
                <li>
                    <label><?php _e('KHTB Album', $config['theme_name']) ?>:</label>
                    <div>
                        <select name="data[vd_album]"  class="widefat">
                            <?php
                            $category_ids = get_all_category_ids();
                            foreach ($category_ids as $row) {
                                $cat_name = get_cat_name($row);
                                ?>
                                <option value="<?php echo $row ?>" <?php echo $option['vd_album'] == $row ? 'selected' : '' ?>><?php echo $cat_name; ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </li>
                <li>
                    <label><?php _e('KHTB Makeup', $config['theme_name']) ?>:</label>
                    <div>
                        <select name="data[vd_makeup]"  class="widefat">
                            <?php
                            $category_ids = get_all_category_ids();
                            foreach ($category_ids as $row) {
                                $cat_name = get_cat_name($row);
                                ?>
                                <option value="<?php echo $row ?>" <?php echo $option['vd_makeup'] == $row ? 'selected' : '' ?>><?php echo $cat_name; ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </li>
                 <li>
                    <label><?php _e('KHTB khách hàng', $config['theme_name']) ?>:</label>
                    <div>
                        <select name="data[vd_kh]"  class="widefat">
                            <?php
                            $category_ids = get_all_category_ids();
                            foreach ($category_ids as $row) {
                                $cat_name = get_cat_name($row);
                                ?>
                                <option value="<?php echo $row ?>" <?php echo $option['vd_kh'] == $row ? 'selected' : '' ?>><?php echo $cat_name; ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </li>
                <li>
                    <input type="submit" value="Submit"/>
                </li>


            </ul>
        </form>
    </div>
</div>